package com.hello;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lidongji on 2017/8/13.
 */
@RestController
@EnableAutoConfiguration
public class SampleController {
    @RequestMapping("/hello")
    public String hello() {
        return "Hello World!";
    }
}
